module NianShouGame{
    export class Building{
        public ground:egret.Bitmap;
        public build:egret.Bitmap;
        public nameIndex:number;

        public GetData(ground:egret.Bitmap, build:egret.Bitmap, nameIndex:number)
        {
            this.ground = ground;
            this.build = build;
            this.nameIndex = nameIndex;
        }
    }

    export class GridPos{
        public row:number;
        public col:number;
        
        constructor(r:number, c:number)
        {
            this.row = r;
            this.col = c;
        }
    }
}